<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.panel.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-panel-basic" [sourceData]="basicSource">
      <d-basic demo></d-basic>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'multiple-types'">
    <div class="devui-demo-title">{{ 'components.panel.typeDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.panel.typeDemo.description' | translate }}</div>
    <d-codebox id="components-panel-multiple-types" [sourceData]="typeSource">
      <d-type demo></d-type>
    </d-codebox>
  </div>
  <div class="devui-demo-example" [dAnchor]="'condition-change'">
    <div class="devui-demo-title">{{ 'components.panel.conditionChangeDemo.title' | translate }}</div>
    <div class="devui-demo-text">{{ 'components.panel.conditionChangeDemo.description' | translate }}</div>
    <d-codebox id="components-panel-condition-change" [sourceData]="conditionChangeSource">
      <d-condition-change demo></d-condition-change>
    </d-codebox>
  </div>
</div>
